#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
----------------------------------------
# @File     : main.py                 
# @Date     : 2021/4/3 23:12
# @Author   : 何启哲
# @Email    : heqizhehandsome@163.com
# @Software : PyCharm
----------------------------------------
"""
import sys
from Ui_Mainwindow import Ui_MainWindow
try:
    from PyQt5 import QtCore, QtGui, QtWidgets
except ImportError:
    import tkinter.messagebox
    tkinter.messagebox.showerror("ImportError", "请先下载相关库(PyQt5)!")

if __name__ == "__main__":
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())